<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>干扰占用度统计</title>

<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/jquery-easyui-1.3.5/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/jquery-easyui-1.3.5/themes/icon.css">
<script type="text/javascript" src="${pageContext.request.contextPath}/static/jquery-easyui-1.3.5/jquery.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/jquery-easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/jquery-easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript">
     
    function postExcelFile(params, url) { //params是post请求需要的参数，url是请求url地址
	    var form = document.createElement("form");
	    form.style.display = 'none';
	    form.action = url;
	    form.method = "post";
	    document.body.appendChild(form);

	    for(var key in params){
	      var input = document.createElement("input");
	      input.type = "hidden";
	      input.name = key;
	      input.value = params[key];
	      form.appendChild(input);
	    }

	    form.submit();
	    form.remove();
	  }
	function exportInterferenceInCurrentPage(){
		var rows  = $('#dg').datagrid("getRows");
		if (rows.length < 1) {
			$.messager.alert("系统提示", "请查询需要导出的数据");
			return;
		}
    	var params = {data:JSON.stringify(rows)};
    	postExcelFile(params, "${pageContext.request.contextPath}/interferencequery/exportcurrentpageQuery.do");
	}
    
    function exportInterferenceInAllPages(){
    	var startTime=$("#i1").datebox("getValue");
		var endTime=$("#i2").datebox("getValue");
		var startTimeLong = new Date(startTime.replace(new RegExp("-","gm"),"/")).getTime();
		var endTimeLong = new Date(endTime.replace(new RegExp("-","gm"),"/")).getTime();
		var frontId=$("#frontId").combotree("getText");
		// var interference_type=$("#interference_type").combotree("getText");
		// var disposed=$("#isDisposed").combotree("getText");
		// var releaseWay=$("#ReleaseWay").combotree("getText");
		window.open('${pageContext.request.contextPath}/interferencequery/exportoccupy.do?frontId='+frontId+'&startTime='+startTimeLong+'&endTime='+endTimeLong);
    }
    
	function searchInterference(){
		//checkTimeValidity();
		var startTime=$("#i1").datebox("getValue");
		var endTime=$("#i2").datebox("getValue");
		var startTimeLong = new Date(startTime.replace(new RegExp("-","gm"),"/")).getTime();
		var endTimeLong = new Date(endTime.replace(new RegExp("-","gm"),"/")).getTime();
		 if(startTimeLong-endTimeLong>=0){
			 $.messager.alert("系统提示","查询开始时间"+startTime+"不能大于结束时间"+endTime+"！");
			 return;
		 }
		 $("#dg").datagrid('load',{
			"frontId":$("#frontId").combotree("getText"),
		 	"startTime":startTimeLong,
		 	"endTime":endTimeLong,
		 });
	}
// 	$(function(){
// 		$('#isDisposed').combotree('loadData', [
// 	    	{id:'1000', text:'全选', "state":"open", children: [
// 		    	{id: 1, text: '是'},
// 		    	{id: 2, text: '否'}
// 		    ]}
// 		]);
// 		$('#ReleaseWay').combotree('loadData', [
// 	    	{id:'1000', text:'全选', "state":"open", children: [
// 		    	{id: 1, text: '自动消除'},
// 		    	{id: 2, text: '手动确认'}
// 		    ]}
// 		]);
// //		$('#isDisposed').combotree('setValue', 2);
// 		searchInterference();
// 	});

    function checkinfmeasurement(){
    	var selectedRows=$("#dg").datagrid("getSelections");
		 if(selectedRows.length!=1){
			 $.messager.alert("系统提示","请选择一条要编辑的数据！");
			 return;
		 }
		var row=selectedRows[0];
		var FrontId = row.frontId;
		var TimeBegin = row.timeBegin;
		var TimeEnd = row.timeEnd;
		var InfType=row.infSourceType;
		var InfChannel=row.infChannel;
		
		if (!InfChannel || InfChannel.length < 2) {
			$.messager.alert("系统提示","公网运营商干扰无测量报告！");
			 return;
		}
		if(InfType=='BCCH同频干扰'){	
			if (parent.$('#tabs').tabs('exists', "干扰测量报告查询")) {
				 parent.$('#tabs').tabs('close', "干扰测量报告查询")
				 var url="/page_interference/InfMeasurement.jsp?FrontId="+FrontId+"&TimeBegin="+TimeBegin+"&TimeEnd="+TimeEnd;
				 parent.openTab("干扰测量报告查询",encodeURI(url));
			 } 
			 else {
				 var url="/page_interference/InfMeasurement.jsp?FrontId="+FrontId+"&TimeBegin="+TimeBegin+"&TimeEnd="+TimeEnd;
				parent.openTab("干扰测量报告查询",encodeURI(url));
			 }
			
		}
		else{
			$.messager.alert("系统提示","当前记录没有测量报告，请选择正确的记录！");
		}
    }
    
    function checkspectrum(){
    	var selectedRows=$("#dg").datagrid("getSelections");
		 if(selectedRows.length!=1){
			 $.messager.alert("系统提示","请选择一条要编辑的数据！");
			 return;
		 }
		var row=selectedRows[0];
		var FrontId = row.BSName;
		var TimeBegin = row.timeBegin;
		var TimeEnd = row.timeEnd;
		var Direction=row.direction;
		var InfChannel=row.infChannel;
		
		if (!InfChannel || InfChannel.length < 2) {
			//$.messager.alert("系统提示","公网运营商干扰无频谱数据！");
			 //return;
			 
		}
		
		
		var InfType=row.infType;
		var InfIntensity=row.infIntensity;
		var TCH='';
		var BCCH='';
		var LAC='';
		var CI='';
		var LAC1='';
		var CI1='';
		var BCCH1='';
		var TRXs='';
		var MCC='';
		var MNC='';
		var RXLEV='';
		$.post("${pageContext.request.contextPath}/interferencequery/gettch.do",{frontId:FrontId, startTime:TimeBegin, endTime:TimeEnd, infType:InfType},function(result){
			TCH = result.TCH;
		    BCCH = result.BCCH;
		    LAC = result.LAC;
		    CI = result.CI;
		    LAC1 = result.LAC1;
			CI1 = result.CI1;
			BCCH1 = result.BCCH1;
			TRXs = result.TRXs;
			MCC = result.MCC;
			MNC = result.MNC;
			RXLEV = result.RXLEV;
			if(TCH == null) { TCH = '无'; }
			if(BCCH == null) { BCCH = '无'; }
			if (parent.$('#tabs').tabs('exists', "干扰频谱查询")) {
				parent.$('#tabs').tabs('close', "干扰频谱查询")
				var url="/page_interference/InfSpectrum.jsp?FrontId="+FrontId+"&TimeBegin="+TimeBegin+"&TimeEnd="+TimeEnd+"&Direction="+Direction
						+"&InfType="+InfType+"&InfChannel="+InfChannel+"&InfIntensity="+InfIntensity+"&TCH="+TCH+"&BCCH="+BCCH+"&LAC="+LAC+"&CI="+CI
						+"&LAC1="+LAC1+"&CI1="+CI1+"&BCCH1="+BCCH1+"&TRXs="+TRXs+"&MCC="+MCC+"&MNC="+MNC+"&RXLEV="+RXLEV; 
				parent.openTab("干扰频谱查询",encodeURI(url));
			} 
			else {
				var url="/page_interference/InfSpectrum.jsp?FrontId="+FrontId+"&TimeBegin="+TimeBegin+"&TimeEnd="+TimeEnd+"&Direction="+Direction
					    +"&InfType="+InfType+"&InfChannel="+InfChannel+"&InfIntensity="+InfIntensity+"&TCH="+TCH+"&BCCH="+BCCH+"&LAC="+LAC+"&CI="+CI
					    +"&LAC1="+LAC1+"&CI1="+CI1+"&BCCH1="+BCCH1+"&TRXs="+TRXs+"&MCC="+MCC+"&MNC="+MNC+"&RXLEV="+RXLEV;
				parent.openTab("干扰频谱查询",encodeURI(url));
			}
		},"json");    
    }
    
    function markHandled() {
		var selectedRows=$("#dg").datagrid("getSelections");
		 if(selectedRows.length==0){
			 $.messager.alert("系统提示","请选择要标记的数据！");
			 return;
		 }
		 var frontIds=[];
		 var directions=[];
		 var infChannels=[];
		 var intTypes=[];
		 for(var i=0;i<selectedRows.length;i++){
			 if(selectedRows[i].disposed=='是'){
				 $.messager.alert("系统提示","当前选择的数据中包含已处理的数据，请重新选择！");
				 return;
			 }
			 frontIds.push(selectedRows[i].frontId);
			 directions.push(selectedRows[i].direction);
			 if(selectedRows[i].infChannel==''||selectedRows[i].infChannel==null){
				 infChannels.push(0);
			 }
			 else
				 infChannels.push(selectedRows[i].infChannel);
			 intTypes.push(selectedRows[i].infType);
		 }
		 var FIDs=frontIds.join(";");
		 var DIRs=directions.join(";");
		 var INFCs=infChannels.join(";");
		 var INTS=intTypes.join(";");
		 var isDisposed=1;
		 $.messager.confirm("系统提示","您确定要标记这<font color=red>"+selectedRows.length+"</font>条数据吗？",function(r){
				if(r){
					$.post("${pageContext.request.contextPath}/interferencequery/changeinterference.do",{FIDs:FIDs,DIRs:DIRs,INFCs:INFCs,INTS:INTS},function(result){
						if(result.success){
							 $.messager.alert("系统提示","已标记成功！");
							 searchInterference();
						}else{
							$.messager.alert("系统提示","标记失败，请联系系统管理员！");
						}
					},"json");
				} 
			 });
	}
    
    //添加历史干扰源
    function openHistoryInterferenceSourceDialog(){

		$("#flag").val(1);
    	$("#dlg").dialog("open").dialog("setTitle","添加历史干扰源信息");
    }
    
    function closeHistoryInterferenceSourceDialog(){
		 $("#dlg").dialog("close");
		 resetValue();
	}
    
    function resetValue(){
    	 $("#Line").val("");
		 $("#Time").val("");
		 $("#ProblemSource").val("");
		 $("#BSName1").val("");
		 $("#BSName2").val("");
		 $("#ProblemDescribe").val("");
		 $("#Rectification").val("");
		 $("#InfType").val("");
		 $("#Operator").val("");
		 $("#SourcePosition").val("");
		 $("#Status").val("");
		 $("#FinishTime").val("");
		 $("#Belongs").val("");
		 $("#AssistPeople").val("");
		 $("#Process").val("");
    }
    
    function saveData(){
    	$("#fm").form("submit",{
			url:"${pageContext.request.contextPath}/interferencequery/saveData.do",
			success:function(result){
				var result=eval('('+result+')');
				if(result.success){
					$.messager.alert("系统提示","保存成功！");
					resetValue();
					$("#dlg").dialog("close");
				}else{
					$.messager.alert("系统提示","保存失败！");
					return;
				}
			}
		 });
    }
    
    //查看历史干扰源
    function checkhistorySource(){
    	var selectedRows=$("#dg").datagrid("getSelections");
		 if(selectedRows.length!=1){
			 $.messager.alert("系统提示","请选择一条要编辑的数据！");
			 return;
		 }
		var row=selectedRows[0];
		var FrontId = row.BSName;
		if (parent.$('#tabs').tabs('exists', "历史干扰源查询")) {
			 parent.$('#tabs').tabs('close', "历史干扰源查询")
			 var url="/page_interference/InfHistorySource.jsp?FrontId="+FrontId; 
			 parent.openTab("历史干扰源查询",encodeURI(url));
		 } 
		 else {
			 var url="/page_interference/InfHistorySource.jsp?FrontId="+FrontId;
			 parent.openTab("历史干扰源查询",encodeURI(url));
		 }
 
    }
    
    function openUploadFileDialog_add(){
		$("#uploadFlag").val(1);
		$("#dlg2").dialog('open').dialog('setTitle','批量导入(追加)');
	}
	
	function openUploadFileDialog_overwrite(){
		$("#uploadFlag").val(2);
		$("#dlg2").dialog('open').dialog('setTitle','批量导入(覆盖)');
	}
	
	function formatInfIntensity(value) {
		if (value.length < 5) return value;
		return parseFloat(value).toFixed(2);
	}
    function formatdiff(value) {
        if (value.length < 5) return value;
        return parseFloat(value).toFixed(2);
    }
    function formatoffest(value) {
        if (value.length < 5) return value;
        return parseFloat(value).toFixed(2);
    }
    function formatinfpercentage(value) {
        if (value.length < 5) return value;
        return parseFloat(value).toFixed(2);
    }
	function uploadFile(){
		$("#uploadForm").form("submit",{
			success:function(result){
				var result=eval('('+result+')');
//				if(result.errorMsg){
//					$.messager.alert("系统提示",result.errorMsg);
//				}else{
//					$.messager.alert("系统提示","上传成功");
//					$("#dlg2").dialog("close");
//					$("#dg").datagrid("reload");
//				}
				if(result.success){
					$.messager.alert("系统提示","上传成功");
					$("#dlg2").dialog("close");
					$("#dg").datagrid("reload");
				}else{
					$.messager.alert("系统提示","上传失败！可能表格数据格式不正确，或者CreateTime已存在！");
				}
			}
		});
	}
</script>
</head>
<body style="margin: 1px">
	
<table id="dg" title="干扰占用度统计" class="easyui-datagrid"
   fitColumns="fasle" pagination="true" rownumbers="true" pageSize="100" pageList="[100,200,300,400,500]"
   url="${pageContext.request.contextPath}/interferencequery/interfaceoccupylist.do" fit="true" toolbar="#tb">
   <thead>
   	<tr>
   		<th field="cb" checkbox="true" align="center"></th>
   		<th field="BSName" width=260 align="center">小区</th>
   		<th field="direction" width=210  align="center">方向</th>
   		<th field="infMaxChannel" width=210 align="center">频点</th>
		<th field="infIntensity" width="210" align="center" formatter="formatInfIntensity">干扰信号峰值（dBm）</th>
   		<th field="diff" width=210 align="center"formatter="formatdiff">干扰时长（秒）</th>
   		<th field="offest" width=230  align="center"formatter="formatoffest">总时长（秒）</th>
   		<th field="infpercentage" width=230 align="center"formatter="formatinfpercentage">干扰占用度（%）</th>
   	</tr>
   </thead>
 </table>
 <div id="tb">
    <div>
    	<%--&nbsp;&nbsp;<a href="javascript:exportInterferenceInCurrentPage()" class="easyui-linkbutton" iconCls="icon-save" plain="false">导出当前页查询干扰记录</a>&nbsp;&nbsp;&nbsp;&nbsp;--%>
 		<a href="javascript:exportInterferenceInAllPages()" class="easyui-linkbutton" iconCls="icon-save" plain="false">导出所有页查询干扰记录</a>
    </div>
    <br>
    <div>
 		&nbsp;&nbsp;&nbsp;小区：
 		<input class="easyui-combotree" id="frontId" name="frontId" style="width: 143px"
 		data-options="panelHeight:'auto', panelMaxHeight:'240px',valueField:'id',textField:'name',url:'${pageContext.request.contextPath}/interferencequery/frontId.do'" multiple/>
 		
 		<%--&nbsp;&nbsp;&nbsp;干扰类型：--%>
 		<%--<input class="easyui-combotree" id="interference_type" name="interference_type" --%>
 		<%--data-options="panelHeight:'auto', panelMaxHeight:'240px',valueField:'id',textField:'name',url:'${pageContext.request.contextPath}/interferencequery/interferencelist.do'" multiple/>          --%>
 		
 		&nbsp;&nbsp;&nbsp;时间：<input type="text" id="i1" size="20" class="easyui-datetimebox" style="width:150px" />&nbsp;至
		<input type="text" id="i2" size="20" class="easyui-datetimebox"  style="width:150px" />
		
		<!--data-options="panelHeight:'auto',data:[{id:'1', text:'是'},
					    {id:'2', text:'否'}]"-->
		<%--&nbsp;&nbsp;&nbsp;是否已处理：<input class="easyui-combotree" id="isDisposed" data-options="panelHeight:'auto', panelMaxHeight:'240px'"--%>
					      <%--style="width: 90px" editable="false" multiple/>--%>
		<%--<!-- data-options="panelHeight:'auto'--%>
					    <%--data:[{id:'1', text:'自动消除'},--%>
					    <%--{id:'2', text:'手动确认'}]" -->--%>
		<%--&nbsp;&nbsp;&nbsp;解除方式：<input class="easyui-combotree" id="ReleaseWay" data-options="panelHeight:'auto', panelMaxHeight:'240px'"--%>
					     <%--value="0" style="width: 130px" editable="false" multiple/>--%>
 		&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:searchInterference()" class="easyui-linkbutton" iconCls="icon-search" plain="false"><b style="font-size:15px">搜索</b></a>
 	</div>
 	
 	<%--<div>&nbsp;&nbsp;--%>
 	        <%--<a href="javascript:checkspectrum()" class="easyui-linkbutton" iconCls="icon-edit" plain="false">查看频谱图</a>&nbsp;&nbsp;&nbsp;&nbsp;--%>
 		    <%--<a href="javascript:checkinfmeasurement()" class="easyui-linkbutton" iconCls="icon-edit" plain="false">查看测量报告</a>&nbsp;&nbsp;&nbsp;&nbsp;--%>
 		    <%--<a href="javascript:checkhistorySource()" class="easyui-linkbutton" iconCls="icon-edit" plain="false">查看历史干扰源</a>&nbsp;&nbsp;&nbsp;&nbsp;--%>
 		    <%--<a href="javascript:openHistoryInterferenceSourceDialog()" class="easyui-linkbutton" iconCls="icon-add" plain="false">添加历史干扰源</a>&nbsp;&nbsp;&nbsp;&nbsp;--%>
 		    <%--<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-reload" plain="false" onclick="openUploadFileDialog_add()">导入历史干扰源数据(追加)</a>&nbsp;&nbsp;&nbsp;&nbsp;--%>
 	    	<%--<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-reload" plain="false" onclick="openUploadFileDialog_overwrite()">导入历史干扰源数据(覆盖)</a>--%>
 		    <%--&lt;%&ndash; <c:if test="${currentMemberShip.group.name=='管理员' }">--%>
 		    <%--<a href="javascript:markHandled()" class="easyui-linkbutton" iconCls="icon-ok" plain="false">标记为已处理</a>--%>
 		      <%--<!-- <a href="javascript:markUnHandled()" class="easyui-linkbutton" iconCls="icon-check" plain="true">标记为未处理</a> -->--%>
 		    <%--</c:if> &ndash;%&gt;--%>
 	<%--</div>--%>
 	<br>
 </div>
 <%----%>
<%--<div id="dlg" class="easyui-dialog" style="width:1050px;height:500px;font-size:15px;" closed="true" buttons="#dlg-buttons">--%>
	<%--<form id="fm" method="post">--%>
		<%--<table cellspacing="10px">--%>
			<%--<tr>--%>
			<%--<td style="text-align:center;width: 200px">线路:</td>--%>
			<%--<td ><input type="text" id="Line" name="Line" class="easyui-validatebox" style="width: 150px"/></td>--%>
			<%--<td style="text-align:center;width: 125px">问题发现日期:</td>--%>
			<%--<td ><input type="text" id="Time" name="Time" class="easyui-validatebox" style="width: 150px"  required="true"/></td>--%>
			<%--<td style="text-align:center;width: 125px">问题来源:</td>--%>
			<%--<td ><input type="text" id="ProblemSource" name="ProblemSource" class="easyui-validatebox" style="width: 300px"/></td>--%>
		<%--</tr>--%>
		<%--<tr>--%>
			<%--<td style="text-align:center;width: 200px">基站:</td>--%>
			<%--<td><input type="text" id="BSName1" name="BSName1" class="easyui-validatebox" /></td>--%>
			 <%--<td style="text-align:center;width: 125px"></td>--%>
			<%--<td><input type="hidden" id="BSName2" name="BSName2" class="easyui-validatebox" /></td>--%>
			<%--<td style="text-align:center;width: 125px">问题描述:</td>--%>
			<%--<td><input type="text" id="ProblemDescribe" name="ProblemDescribe" class="easyui-validatebox" style="width: 300px"/></td>--%>
		<%--</tr>--%>
		<%--<tr>--%>
		    <%--<td style="text-align:center;width: 200px">整改情况:</td>--%>
			<%--<td style="width: 800px" colspan="5"><textarea name="Rectification" cols="38" rows="6"  id="Rectification" wrap="hard" style="width: 900px"></textarea></td>--%>
		<%--</tr>--%>
		<%--<tr>--%>
				<%--<td style="text-align:center;width: 200px">干扰类型:</td>--%>
			<%--<td><input type="text" id="InfType" name="InfType" class="easyui-validatebox" /></td>--%>
			<%--<td style="text-align:center;width: 125px">运营商:</td>--%>
			<%--<td><input type="text" id="Operator" name="Operator" class="easyui-validatebox" /></td>--%>
			<%--<td style="text-align:center;width: 125px">干扰源位置:</td>--%>
			<%--<td><input type="text" id="SourcePosition" name="SourcePosition" class="easyui-validatebox" style="width: 300px"/></td>--%>
		<%--</tr>--%>
		<%--<tr>--%>
			<%--<td style="text-align:center;width: 200px">问题状态:</td>--%>
			<%--<td><input type="text" id="Status" name="Status" class="easyui-validatebox" /></td>--%>
			<%--<td style="text-align:center;width: 125px">整改完成时间:</td>--%>
			<%--<td><input type="text" id="FinishTime" name="FinishTime" class="easyui-validatebox"  required="true"/></td>--%>
			<%--<td style="text-align:center;width: 125px">所属段:</td>--%>
			<%--<td><input type="text" id="Belongs" name="Belongs" class="easyui-validatebox" style="width: 300px"/></td>--%>
		<%--</tr>--%>
		<%--<tr>--%>
			<%--<td style="text-align:center;width: 200px">运营商配合人员:</td>--%>
			<%--<td colspan="3"><input type="text" id="AssistPeople" name="AssistPeople" class="easyui-validatebox" style="width: 400px"/></td>--%>
		<%--</tr>--%>
		<%--<tr>--%>
		    <%--<td style="text-align:center;width: 200px">整改履历表:</td>--%>
			<%--<td style="width: 800px" colspan="5"><textarea name="Process" cols="38" rows="6"  id="Process" wrap="hard" style="width: 900px"></textarea></td>--%>
			<%--<td colspan="4">--%>
   				<%--<input type="hidden" id="flag" name="flag"/>--%>
   			<%--</td>--%>
		<%--</tr>--%>
		<%--<tr>--%>
			<%--<td style="text-align:center;width: 200px">MCC:</td>--%>
			<%--<td><input type="text" id="MCC" name="MCC" class="easyui-validatebox" /></td>--%>
			<%--<td style="text-align:center;width: 125px">MNC:</td>--%>
			<%--<td><input type="text" id="MNC" name="MNC" class="easyui-validatebox"  /></td>--%>
			<%--<td style="text-align:center;width: 125px">LAC:</td>--%>
			<%--<td><input type="text" id="LAC" name="LAC" class="easyui-validatebox" style="width: 300px"/></td>--%>
		<%--</tr>--%>
		<%--<tr>--%>
			<%--<td style="text-align:center;width: 200px">CID:</td>--%>
			<%--<td><input type="text" id="CID" name="CID" class="easyui-validatebox" /></td>--%>
			<%--<td style="text-align:center;width: 125px">RELEV:</td>--%>
			<%--<td><input type="text" id="RELEV" name="RELEV" class="easyui-validatebox"/></td>--%>
			<%--<td style="text-align:center;width: 125px">TRXs:</td>--%>
			<%--<td><input type="text" id="TRXs" name="TRXs" class="easyui-validatebox" style="width: 300px"/></td>--%>
		<%--</tr>--%>
		<%--</table>--%>
	<%--</form>--%>
<%--</div>--%>

<%--<div id="dlg-buttons" style="text-align:center">--%>
 	<%--<a href="javascript:saveData()" class="easyui-linkbutton" iconCls="icon-ok">保存</a>--%>
 	<%--<a href="javascript:closeHistoryInterferenceSourceDialog()" class="easyui-linkbutton" iconCls="icon-cancel">关闭</a>--%>
<%--</div>--%>

<%--<div id="dlg2" class="easyui-dialog" style="width:400px;height:150px;padding:10px 20px" closed="true" buttons="#dlg-buttons2">--%>
	<%--<form id="uploadForm" action="${pageContext.request.contextPath}/interferencequery/upload.do" method="post" enctype="multipart/form-data">--%>
		<%--<table><tr>--%>
			<%--<td>上传文件：</td>--%>
			<%--<td>--%>
				<%--<input type="file" name="userUploadFile">--%>
				<%--<input type="hidden" id="uploadFlag" name="uploadFlag"/>--%>
			<%--</td>--%>
		<%--</tr></table>--%>
	<%--</form>--%>
<%--</div>--%>
   <%----%>
<%--<div id="dlg-buttons2">--%>
	<%--<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="uploadFile()">上传</a>--%>
	<%--<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#dlg2').dialog('close')">关闭</a>--%>
<%--</div>--%>

</body>
</html>